{% load static %}

{#知乎发帖#}
<span class="badge badge-warning">知乎最新评论发帖入口</span>
<form id="formid" action='{% url 'JDComment_New' %}'>
    {#        {% csrf_token %}#}
    {% csrf_token %}
    <select class="custom-select" name="category">
        {% for fenlei in category_typeQuerySet %}
          <option value="{{ fenlei.id }}">板块{{ fenlei.id }}-{{ fenlei.name }}</option>
        {% endfor %}
    </select>
    <input class="form-control border-danger" type="number" name="id" value="">
    <input class="btn btn-outline-warning btn-sm" type="submit" value="通过ID获取某东数据">
</form>

<span class="badge badge-warning">知乎最多赞评论发帖入口</span>
<form id="formid" action='{% url 'JDComment' %}'>
    {#        {% csrf_token %}#}
    {% csrf_token %}
    <input class="form-control border-danger" type="number" name="id" value="">
    <input class="btn btn-outline-warning btn-sm" type="submit" value="通过ID获取某东数据">
</form>



{#bbs发帖#}
{#<span class="badge badge-danger">bbs发帖入口</span>#}
{#<span class="label label-success"></span>#}
{#选择账户#}
{#<select class="form-control" name="carlist" form="formid">#}
{#      <option value ="LOL">LOL</option>#}
{#      <option value ="和平精英">和平精英</option>#}
{#</select>#}
{#<form id="formid" action='{% url 'JDComment_PostBBS' %}'>#}   {#JDComment_PostBBS函数已删#}
    {#        {% csrf_token %}#}
{#    {% csrf_token %}#}
{#    <input class="form-control border-danger" type="number" name="id" value="">#}
{#    <input class="btn btn-outline-danger btn-sm" type="submit" value="通过ID发送bbs 内容">#}
{##}
{#</form>#}

<div class="list-group">
    <a class="list-group-item list-group-item-action">作者最新文章</a>

    {% for item in AutherDetailQuerySEt %}
        {% if pageId == item.pageid %}
            <a href="{% url "detail" item.pageid %}"
               class="list-group-item list-group-item-action list-group-item-primary">{{ forloop.counter }}.{{ item.title }}</a>
        {% else %}
        {% endif %}

    {% endfor %}

</div>
<script>
</script>